##
## Makefile for mysh in /home/nadali_t//local/svn/tek2ed/minishell1
## 
## Made by thomas nadalie
## Login   <nadali_t@epitech.net>
## 
## Started on  Thu Nov  8 12:23:30 2012 thomas nadalie
## Last update Thu Nov  8 12:24:34 2012 thomas nadalie
##

NAME=   libmy.a

SRC=   	my_putchar.c \
	my_isneg.c \
	my_put_nbr.c \
	my_swap.c \
	my_putstr.c \
	my_strlen.c \
	my_getnbr.c \
	my_factorielle_rec.c \
	my_sort_int_tab.c \
	my_power_rec.c \
	my_square_root.c \
	my_is_prime.c \
	my_find_prime_sup.c \
	my_strcpy.c \
	my_strncpy.c \
	my_revstr.c \
	my_strstr.c \
	my_strcmp.c \
	my_strncmp.c \
	my_strupcase.c \
	my_strlowcase.c \
	my_strcapitalize.c \
	my_str_isalpha.c \
	my_str_isnum.c \
	my_str_islower.c \
	my_str_isupper.c \
	my_str_isprintable.c \
	my_showstr.c \
	my_showmem.c \
	my_strcat.c \
	my_strncat.c \
	my_strlcat.c \
	my_put_error.c \
	my_bzero.c \
	my_strdup.c \
	check_option.c \
	convert_base.c \
	init_tab.c \
	opt_str.c \
	opt_int.c \
	opt_int2.c \
	my_printf.c \
	my_concat.c \
	my_strcpr.c \
	my_showtab.c \
	epur_str.c

OBJ=    $(SRC:.c=.o)

RM=     rm -f

CFLAGS= -Wall -I../include

all:    $(NAME)

$(NAME):      	 $(OBJ)
	ar rc $(NAME) $(OBJ)
	ranlib $(NAME)
	cp libmy.a ../libmy.a

clean:
	$(RM) *~ 
	$(RM) *.o
	$(RM) *#

fclean: clean
	$(RM) $(NAME)

re:     fclean all